package com.xiaoyang.forum.mapper;

import com.xiaoyang.forum.domain.pojo.Message;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xiaoyang.forum.domain.vo.MessageVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author XiaoYang
 * @since 2025-08-23
 */
@Mapper
public interface MessageMapper extends BaseMapper<Message> {

    List<MessageVO> toList(long receiveUserId);
}
